Skip to content

report: avoid variable reuse with different types#581

Open
bdrung wants to merge 1 commit intocanonical:mainfrom
bdrung:avoid-var-reuse
Open

report: avoid variable reuse with different types#581
bdrung wants to merge 1 commit intocanonical:mainfrom
bdrung:avoid-var-reuse

Conversation

@bdrung
Copy link
Copy Markdown
Member

@bdrung bdrung commented Apr 21, 2026

mypy will complain about addr because it will change from the type str to int.

So use different variable names to make mypy happy.

mypy will complain about `addr` because it will change from the type
`str` to `int`.

So use different variable names to make mypy happy.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.45%. Comparing base (be024b6) to head (79138df).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #581   +/-   ##
=======================================
  Coverage   84.45%   84.45%           
=======================================
  Files         104      104           
  Lines       20939    20939           
  Branches     3212     3212           
=======================================
  Hits        17683    17683           
+ Misses       2816     2815    -1     
- Partials      440      441    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant